package com.mdd.admin.service.auth;

import com.alipay.api.AlipayApiException;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mdd.common.entity.agreement.AlipayAuthOrderFreeze;

/**
* @author DELL
* {@code @description} 针对表【alipay_auth_order_freeze(预授权押金记录)】的数据库操作Service
* {@code @createDate} 2023-11-01 17:23:05
 */
public interface AlipayAuthOrderFreezeService extends IService<AlipayAuthOrderFreeze> {

    void updateAuthOrderStatus(String agreementNo);
    AlipayAuthOrderFreeze getAuthInfo(String outOrderNo);

    /**
     * 取消押金冻结
     * @param orderId
     */
    void cancelAuthOrderFreeze(Long orderId) throws AlipayApiException;

}
